package com.feige.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel(value="RoleQueryDto对象")
public class RoleQueryDto {

    @ApiModelProperty(value = "页码")
    private Integer pageNum;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize;

    @ApiModelProperty(value = "角色名称")
    private String roleName;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "开始日期")
    private Date beginTime;

    @ApiModelProperty(value = "结束日期")
    private Date endTime;

    public RoleQueryDto() {
    }

    public RoleQueryDto(Integer pageNum, Integer pageSize, String roleName, Integer status, Date beginTime, Date endTime) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.roleName = roleName;
        this.status = status;
        this.beginTime = beginTime;
        this.endTime = endTime;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "RoleQueryVo{" +
                "pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", roleName='" + roleName + '\'' +
                ", status=" + status +
                ", beginTime=" + beginTime +
                ", endTime=" + endTime +
                '}';
    }
}
